
//
//  ImageCell.m
//  06 AssetDemo
//
//  Created by liyoubing on 15/9/13.
//  Copyright (c) 2015年 www.liyoubing.com. All rights reserved.
//

#import "ImageCell.h"

@implementation ImageCell

- (instancetype)initWithFrame:(CGRect)frame {

    self = [super initWithFrame:frame];
    if (self) {
        _imgView = [[UIImageView alloc] initWithFrame:self.bounds];
        _imgView.backgroundColor = [UIColor redColor];
        [self.contentView addSubview:_imgView];
        
    }
    
    return self;
    
}



- (void)setImg:(UIImage *)img {

    
    _img = img;
    
    
    _imgView.image = _img;
    
}


@end
